<!DOCTYPE html>
<html>
<head>
	<title></title>
</head>
<body>

<script type="text/javascript">
	
console.error("a = " + "abc".charAt(0));
console.error("𠮷 = " + "𠮷".charAt(0));

//以下方法提案  通过垫片库实现
// console.error("a = " + "abc".at(0));
// console.error("𠮷 = " + "𠮷".at(0));

</script>

</body>
</html>